package org.magicsoft.office.exception;

public class DBException extends RuntimeException {

	private static final long serialVersionUID = -716395994487153572L;

	public DBException(Throwable cause) {
		super(cause);
	}

	public DBException(String message) {
		super(message);
	}

	public DBException(String sql, Throwable cause) {
		super("SQL执行异常：" + cause.getMessage() + " @SQL => " + sql, cause);
	}

}
